import { mock } from "mockjs";

let tonggaoList = mock({
  "data|20": [
    {
      title: "@ctitle",
      author: "@cname",
      context: "@cparagraph",
      createTime: "@datetime",
      collect: "number|0-100",
      thumb: "number|0-100",
    },
  ],
}).data;

export default [
  {
    url: "/tonggao/weidu",
    type: "post",
    response() {
      return {
        code: 200,
        msg: "success",
        data: tonggaoList,
      };
    },
  },
];
